package com.kaili.pojo.dto.stowage;


import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author xjh
 * @ClassName StowageAddBean
 * @Description 配载新增实体类
 * @Date 下午1:32 18-5-24
 * @Version 1.0
 */
@Data
public class StowageAddBean {
    @ApiModelProperty("配载单流水号")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private String operationId;

    @ApiModelProperty("配载单号")
    private String stowageNo;

    @ApiModelProperty("配载单制作网点id")
    private Integer siteId;

    @ApiModelProperty("发车时间")
    private Date carSendTime;

    @ApiModelProperty("目的网点id")
    private Integer destinationSiteId;

    @ApiModelProperty("车辆id")
    private Integer carId;

    @ApiModelProperty("驾驶员id")
    private Integer driverId;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("途径网点")
    private Integer nextSiteId;

    @ApiModelProperty("出站配载票数")
    private Integer outEwbCount;

    @ApiModelProperty("出站配载件数")
    private Integer outPiece;

    @ApiModelProperty("出站扫描件数")
    private Integer outScanPiece;

    @ApiModelProperty("出站配载重量")
    private BigDecimal outWeight;

    @ApiModelProperty("出站配载体积")
    private BigDecimal outVol;

    @ApiModelProperty("出站备注")
    private String outRemark;

    @ApiModelProperty("承运费")
    private BigDecimal carryFreightCharge;

    @ApiModelProperty("结算方式")
    private Integer payModeId;

    @ApiModelProperty("设备编号")
    private String deviceCode;

    @ApiModelProperty("数据来源  1:PC  2:PDA")
    private Integer scanSourceId;

    @ApiModelProperty("是否短途接驳  0不是  1是")
    private Integer shortRelay;

    @ApiModelProperty("配载类型  0额定容积  1额定载重  2手动配载")
    private Integer stowageType;

    @ApiModelProperty("配载单明细集合")
    private List<StowageDetailAddBean> ewbsStowageDetailList;

    @ApiModelProperty("配载单制作人id")
    private Integer userId;

    @ApiModelProperty("备注")
    private String remark;

    private List<String> subEwbs;

    @ApiModelProperty("来源,1标示web端,2标示PDA端")
    private Integer sourceType;
}
